package a10_strategy;

public class Context {

	private IStrategy strategy;

	public void handleProblem() {
		this.strategy.handle();
	}

	/**
	 * @return the strategy
	 */
	public IStrategy getStrategy() {
		return strategy;
	}

	/**
	 * @param strategy
	 *            the strategy to set
	 */
	public void setStrategy(IStrategy strategy) {
		this.strategy = strategy;
	}

}
